<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="/student/edit" method="post">
        <input type="hidden" name="id" th:value="*{s.getId()}"><br>
        姓名：
        <input type="text" name="name" th:value="*{s.getName()}"><br>
        年龄：
        <input type="text" name="age" th:value="*{s.getAge()}"><br>
        地址：
        <input type="text" name="address" th:value="*{s.getAddress()}"><br>
        <input type="submit" value="添加">
    </form>
</body>
</html>